<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/includes/common.jsp" %>

${action.message}

<form method="post" action="">
    <div>
        <div class="form-left">ID:</div>
        <div class="form-right"><input id="idTxt" type="text" name="id" value="${param.id}"/></div>
    </div>
    <div>
        <div class="form-left">Tên:</div>
        <div class="form-right"><input type="text" name="name" value="${param.name}"/></div>
    </div>
    <div>
        <div class="form-left">Mô tả:</div>
        <div class="form-right"><textarea cols="80" rows="25" name="desc">${param.desc}</textarea></div>
    </div>
    <div>
        <div class="form-left">Ảnh:</div>
        <div class="form-right"><input type="text" name="image" value="${param.image}"/></div>
    </div>
    <div class="form-actions">
        <button type="submit" name="submit" value="add">Gửi</button>
        <button type="reset">Nhập lại</button>
    </div>
</form>
<script type="text/javascript">
<!--
document.getElementById('idTxt').focus();
//-->
</script>